package com.team2.outpatient_sys.service;

import com.team2.outpatient_sys.pojo.Dispense;
import com.team2.outpatient_sys.pojo.Medicine;


import java.util.List;


public interface DispenseService {
    public boolean add(Dispense dispense);

    public boolean delete(Integer id);

    public boolean update(Dispense dispense);

    public List<Dispense> findAll();

    public Dispense findById(Integer id);

    public List<Medicine> findDispense(Integer prescriptionId);

//    public List<Medicine> findByPage(Integer currentPage,Integer pageSize);
}
